﻿using RuoVea.ExDto;
using RuoVea.ExEnum;

namespace BookMarks.Server.Dto;


public class BookmarkPageParam : PageParam {
    /// <summary>
    /// 
    /// </summary>
    public long? CategoryId { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }
}

/// <summary>
/// 
/// </summary>
public class BookmarkDto
{
    /// <summary>
    /// 
    /// </summary>
    public List<BookmarkDto>? children { get;set;  }
    /// <summary>
    /// 
    /// </summary>
    public long? Id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public long? CategoryId { get; set; }

    /// <summary>
    ///  
    /// </summary>
    public string ParentType { get; set; }
    /// <summary>
    /// 类别
    /// </summary>
    public string Type { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 地址
    /// </summary>
    public string Url { get; set; }

    /// <summary>
    /// 图标
    /// </summary>
    public string Icon { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int Sort { get; set; }

    /// <summary>
    /// 状态-正常_0、停用_1 
    /// </summary>
    public YesOrNot? IsDisable { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public   long? Creator { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }
}